package com.ronan.imserver.processor;

import com.google.protobuf.MessageLite;
import io.netty.channel.Channel;

/**
 * FileName    : com.ronan.imserver.processor
 * Description :
 *
 * @author : ronan
 * @version : 1.0
 * Create Date : 2021/2/26 10:45
 **/
public interface RIMProcessor<T extends MessageLite> {

    /**
     * 处理器
     *
     * @param protocol 协议
     * @param channel  通道
     */
    void process(T protocol, Channel channel);
}
